package com.pwx.services;

import com.github.pagehelper.PageInfo;
import com.pwx.entity.Emp;

import java.util.List;
import java.util.Map;

public interface EmpServices {
    Emp doLoging(String userName, String password);

    PageInfo<Emp> getAll(Map<String ,Object> maps);

    boolean addToEmp(Emp emp);

    boolean deleteEmpByEno(Integer eno);

    Emp getEmpByEno(Integer eno);

    boolean updateEmp(Emp emp);
}
